package com.ruoyi.wetest.stats;

import com.ggalmazor.ltdownsampling.Point;


public class DateSeriesPoint implements Point {
  private final int date; //秒
  private final double value;

  public DateSeriesPoint(int date, double value) {
    this.date = date;
    this.value = value;
  }

  @Override
  public double getX() {
    return date;
  }

  @Override
  public double getY() {
    return value;
  }

  public int getDate() {
    return date;
  }
}
